﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Planisoft.Entities;

namespace Planisoft.DAO
{
    public class UbigeoViaDAO: MasterDataAcces, IUbigeoViaDAO
    {
        public List<UbigeoVia> GetAllFromUbigeoVia()
        {
            var query = from v in Context.UbigeoVias
                            orderby v.DescUbiVia
                            select v;

            return query.ToList();
        }
    }
}
